// Generated by view binder compiler. Do not edit!
package net.printer.printdemo.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
import net.printer.printdemo.R;

public final class ActivityTscBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final Button btBarcode;

  @NonNull
  public final Button btBitmap;

  @NonNull
  public final Button btQr;

  @NonNull
  public final Button btText;

  @NonNull
  public final Button btTsp;

  private ActivityTscBinding(@NonNull LinearLayout rootView, @NonNull Button btBarcode,
      @NonNull Button btBitmap, @NonNull Button btQr, @NonNull Button btText,
      @NonNull Button btTsp) {
    this.rootView = rootView;
    this.btBarcode = btBarcode;
    this.btBitmap = btBitmap;
    this.btQr = btQr;
    this.btText = btText;
    this.btTsp = btTsp;
  }

  @Override
  @NonNull
  public LinearLayout getRoot() {
    return rootView;
  }

  @NonNull
  public static ActivityTscBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, null, false);
  }

  @NonNull
  public static ActivityTscBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup parent, boolean attachToParent) {
    View root = inflater.inflate(R.layout.activity_tsc, parent, false);
    if (attachToParent) {
      parent.addView(root);
    }
    return bind(root);
  }

  @NonNull
  public static ActivityTscBinding bind(@NonNull View rootView) {
    // The body of this method is generated in a way you would not otherwise write.
    // This is done to optimize the compiled bytecode for size and performance.
    int id;
    missingId: {
      id = R.id.bt_barcode;
      Button btBarcode = rootView.findViewById(id);
      if (btBarcode == null) {
        break missingId;
      }

      id = R.id.bt_bitmap;
      Button btBitmap = rootView.findViewById(id);
      if (btBitmap == null) {
        break missingId;
      }

      id = R.id.bt_qr;
      Button btQr = rootView.findViewById(id);
      if (btQr == null) {
        break missingId;
      }

      id = R.id.bt_text;
      Button btText = rootView.findViewById(id);
      if (btText == null) {
        break missingId;
      }

      id = R.id.bt_tsp;
      Button btTsp = rootView.findViewById(id);
      if (btTsp == null) {
        break missingId;
      }

      return new ActivityTscBinding((LinearLayout) rootView, btBarcode, btBitmap, btQr, btText,
          btTsp);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
